#include <iostream>

class Test
{
public:
    Test():a(1){}
    virtual void show()
    {
        std::cout<<"hello\n";
    }
public:
    int a;

};

class Derived : virtual public Test
{
public:
    virtual void app()
    {

    }
public:
    int b;
};

int main()
{
    Derived t;
    std::cout<<sizeof(Derived)<<std::endl;
    return 0;
}